package com.qiangesoft.rdp.starter.mvc.exception;

import com.qiangesoft.rdp.starter.mvc.exception.result.ResultMessageEnum;

/**
 * 未登录异常
 *
 * @author qiangesoft
 * @date 2023-09-18
 */
public final class NotLoginException extends BaseException {

    private static final long serialVersionUID = 1L;

    /**
     * 默认未登录的异常信息
     */
    public NotLoginException() {
        this.code = ResultMessageEnum.UNAUTHORIZED.getCode();
        this.message = ResultMessageEnum.UNAUTHORIZED.getMessage();
    }

}